package com.matt.service.impl;

import com.matt.domain.TargetObject;
import com.matt.repository.TargetObjectRepository;
import com.matt.service.TargetObjectService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class TargetObjectServiceImpl implements TargetObjectService {

    @Autowired
    TargetObjectRepository targetObjectRepository;

    @Override
    public TargetObject getById(String id) {
        return targetObjectRepository.getOne(id);
    }
}
